added expectiation of SocketSpecs#port
added example for Socket#recvfrom
fixed wrong argument
removed useless variables: library