Fixed sbt settings
Fixed following things

 - Added Set-Cookie header to response.headers
 - Added Connection: close header
 - Fixed tests
version 0.5.1