Made record function and proper server closing protocol
Can get IP address
logs the client's ip
Merge pull request #3 from CrasherCourse/logging

Logging