ServerSocketInterface: used for high level classes access server socket through it and for testing.