print socket message in debug mode (by Pansz)