Minor adjustments
Add: free port handling and slightly better init seq number generation
Add: more comments