*: add default options
tcp: fix indentation
tcp: fix option getting
tcp/socket: use the proper protocol
tcp: fix compilation errors
unix: remove useless option setting code