Fix for race condition when cancelling a connection.
Directory creation should return a 257 status
Don't do HTTP download test with MockServer in synchronous mode