Updating license to GPLv2 and minor change to accomodate sending header
once per connection