Fixed following bugs:
* IP payload size computation
* readLine should read multiple times from socket until eond of line
* TCP options encoding option tag
* socket created on connect had no continuation
* TCP ports should start at 1