! http(x): support content negotiation, fixes #167
= examples: fix compiler warning
! http(x): polish MediaType model, fix tests, smaller improvements

http:
  - remove `isContentTypeAccepted` and `acceptedCharset` methods on `HttpMessage`
     (they are not required anymore by the new content negotiation logic)
  - add `withQValue` and `withParameters` modifier methods to `MediaRange`
  - add `qValue` parameter to `MediaRange.custom` and `MediaType.custom` constructors
  - add `spray.http.MultipartMediaType` type with an additional `withBoundary` modifier
  - improve custom multipart media-type creation
     (was, for example: new `multipart/mixed`("myBoundary")
     now it's: `multipart/mixed` withBoundary "myBoundary")
  - extend `spray.http.Rendering` with support for Floats and Doubles
  - fix failing tests

 httpx:
  - remove `tryAccept(ContentType)` overload on `MarshallingContext`
  - fix failing tests
= http: small cleanup and unification of q=0.0 handling
Merge pull request #384 from 2beaucoup/ticket/167

! http(x): support content negotiation, fixes #167
! can: replace InetSocketAddress in HostConnectorSetup with hostname/port pair, fixes #394

Since two `InetSocketAddress` instances are equal if their hostnames resolve to the same IP/port (i.e. the address for "www.spray.io" and "spray.io" compare equal) the HTTP layer wasn't distinguishing properly between them.
This patch fixes this problem.
If you were relying on constructing an `HostConnectorSetup` with an `InetSocketAddress` you need to change your code to provide a host and port explicitly.
Merge pull request #398 from spray/ticket/394

! can: replace InetSocketAddress in HostConnectorSetup with hostname/port pair, fixes #394
= http: fix deprecation compiler warning
Merge pull request #389 from agemooij/compiler-warning-fixes

Fixed some minor compiler warnings
! routing: Added `detach` directive which executes its inner route in a future. Removed `detachTo` directive. Fixes #240.

The `detachTo` directive was removed and replaced with `detach` which executes its inner route in a `Future` (as opposed to
executing it inside an actor). In order to migrate, users will have to replace their use of `detachTo`, which most commonly
was used with `singleRequestServiceActor`, with a parameterless call to detach (i.e. `detach()`) if they have either an
implicit `ExecutionContext` or `ActorRefFactory` in scope. Additionally, it is also possible to call detach with an explicit `ExecutionContext` (e.g. `detach(ec)`).
Merge pull request #391 from andrebeat/feature-detach

Change `detachTo` to execute the route in a future rather than an actor
+ http: fix recent MediaType refactoring causing `*/*;q=?` mismatch, add tests

This change also add a `def withCharset(charset: HttpCharset): ContentType`
convenience method to `MediaType`.
= can: change `unhandledMessage` in `ResponseReceiverRef` to allow for better NPE localization

 We currently cannot reproduce the NPE reported in #387, this change will help us in at least better
 understand where exactly it is triggered.
= io: fix logging in SslTlsSupportSpec
= io: test for invalid connection closure for SSL connections, refs #393

 * tests that try to more closely make sure that the messages are sent
   in proper order
 * added tests for checking that no sessions are lost by broken SSL
   closure as this is the most important consequence of wrong SSL
   closing behaviour
= io: improve SSL closing sequence, fixes #393

Changes:
  * when user wants to close connection, don't do so immediately but
    let SSLEngine drive the decision (encrypt -> CLOSED)
  * also when peer closes connection on SSL level (decrypt -> CLOSED),
    don't warn (and close underlying transport) but follow the usual
    connection closing path
Merge pull request #399 from spray/wip/fix-mediarange-matching

+ http: fix recent MediaType refactoring causing `*/*;q=?` mismatch, add tests
Merge pull request #400 from jrudolph/feature/fix-ssl-shutdown-sequence

Improve SSL closing sequence, fix for #393
= can: add notice not to change `spray.can.parsing` settings in application.conf, fixes #346
+ io: don't abort connection immediately when `finishConnect` returns false but retry selection, fix #390

 * added a new setting akka.io.tcp.finish-connect-retries which defines
   how often to retry