Fix the close() block problem; Add return not implemented response if the underlying transport type is TCP