Add client behaviour used as server callback and add a client_mock for testing.
Remove set client pid function from server. It is now set via start_link.