Please use "protected" instead of "private"

This way we can actually extend this and enhance if we wish! I cleaned up the server class, but the same thing probably applies to other classes. It's really bad practice to make un-extendable classes. 

I wanted to extend this and add custom error logging (so that they end up inside error) and this is only possible with this change.