Setting atmosphere headers for reconnecting

 Implemented setting of atmosphere cache request headers and improved reconnecting. Fixed the bug "No suitable transporter available" exception when reconnecting.