socket checker, fixes, integration tests