Changed some HTTP status codes to be more appropriate
fixed new clients with empty tails taking values of old client's tails

otherwise, a new client with an empty tail will take the value of an old client's tail at that memory location
Merge pull request #1 from ChaoticMind/master

minor bugfix