Implement getsockopt on Socket

Only implements some useful values.
Implement setsockopt on Socket