Fixed Issue #1 (server crashing because of casting error related to the HTTP version number)
Added try-catch to the main thread to prevent the server from crashing. Also added string comparison to check the HTTP version number instead of a greater than comparison. This is added for only allowing version 1.1 as described in README.md.
Edited by Dilawar Mahmood