private String getHTTPStatusHeader(int statuscode) {
		switch (statuscode) {
			case 200:
				return "HTTP/1.1 200 OK" + CRLF;
			case 301:
				return "HTTP/1.1 301 Moved Permanently" + CRLF;
			case 400:
				return "HTTP/1.1 400 Bad Request" + CRLF;
			case 403:
				return "HTTP/1.1 403 Permission Denied" + CRLF;
			case 404:
				return "HTTP/1.1 404 Not Found" + CRLF;
			case 405:
				return "HTTP/1.1 405 Method Not Allowed" + CRLF;
			case 418:
				return "HTTP/1.1 418 I'm a teapot" + CRLF;
			case 501:
				return "HTTP/1.1 501 Not Implemented" + CRLF;
			case 502:
				return "HTTP/1.1 502 Bad Gateway" + CRLF;
			default:
				return "HTTP/1.1 500 Internal Server Error" + CRLF;
		}
	}