Fix socket close
Remove forgotten line
Save port to field
Move server start to method
Add start server method execute
Merge branch 'fix/server-stop' into dev