Stakhovsky beats Federer