used text instead of toString for http protocol version