Moved functions to get info about socket from server to network module.