Fix #set_headers

* sinatra.header does not exist
* Improve code style