Server listens and opens socket on incoming request

Mock incoming request method in server-spec
Import java.net classes