Safari 5.1.7无法连接Web Socket PHP Server(我正在使用Ratchet WebSocket Library)

WebSocket connection is established by all browser except safari. I'm using Ratchet PHP WebSocket library & I'm a quite sure problem is in it because when I'm using this address

new WebSocket("ws://echo.websocket.org");

The connection is established successfully & when I'm using my server address

 new WebSocket("ws://localhost:9000");

It is failed to connect to the server.

Here is Safari header which sent to the server

Connection:Upgrade
Host:localhost:9000
Origin:http://sb.bindia.dk
Sec-WebSocket-Key1:1}6 9j$ 3 94EL\ 2N42  |H8
Sec-WebSocket-Key2:207 824 69+} 6     n
Upgrade:WebSocket
(Key3):C7:D6:07:D1:F8:9D:82:5E