The server crashes when the HTTP version is a string or too large of a number
Description
Sending a GET request to the server with a HTTP version number that is either too long or a string will cause the server to crash. Entering a number that is too large will cause the server to throw the exception: 'std::out_of_range', and entering a string will cause the server to throw the exception: 'std::invalid_argument'.
OS: Ubuntu 20.04
Reproducing the bug
After starting the server as described in the README enter the following lines into a terminal:
telnet localhost 8080
GET / HTTP/AString
or:
telnet localhost 8080
GET / HTTP/99999999999999999999999999999999999999999999999999999999999999999