fixes for new version of spray and akka