Better cleanup in close_connection()
Using local var in open_auth_file
Lua functionality change: print renamed to mg.write, read renamed to mg.read. Expanded user manual, fixed example pages.
Added .mov (quicktime) to builtin_mimes_types
Merge pull request #170 from oerik/movadd

Added .mov (quicktime) to builtin_mimes_types
Exported mg_prepare_lua_environment()
merge
Fixed masking in websocket code
Fix doc string for websocket_data()
defined ALL_WINOBJS and using it for windows build
Fix for prepare_lua_environment
Added socket functions to lua environment
Securely close SSL conection

For SSL in close_connection, current implementation use close_socket_gracefully to close socket firstly, then SSL_free. In my
testing, this approach may cause some pending write data missing. I'd suggest use standard SSL_shutdown in SSL conection. It
need call twice according to openSSL manual - one call sends the close_notify alert and one call receives the response from
the peer
Merge pull request #172 from jwang11/master

Securely close SSL connection by standard SSL_shutdown
Squashed warnings on win32 in Lua code
Improved docstring for mg_read()
Exported mg_url_encode()
Update README.md
Update README.md
Update README.md